﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace AllServer.Core.Entity;
    ///<summary>
    ///产品价格表
    ///</summary>
    [SugarTable("TPriceType")]
    public partial class TPriceType
    {
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="Id")]
        public int Id {get;set;}
        /// <summary>
        /// 名称
        /// </summary>           
        [SugarColumn(ColumnName="Name")]
        public string Name {get;set;}
        /// <summary>
        /// 显示名称
        /// </summary>           
        [SugarColumn(ColumnName="DisplayName")]
        public string DisplayName {get;set;}
        /// <summary>
        /// 价格类型
        /// </summary>           
        [SugarColumn(ColumnName="PriceNo")]
        public int PriceNo {get;set;}
        /// <summary>
        /// 支付宝价格
        /// </summary>           
        [SugarColumn(ColumnName="AliPrice")]
        public decimal AliPrice {get;set;}
        /// <summary>
        /// 微信价格
        /// </summary>           
        [SugarColumn(ColumnName="WechatPrice")]
        public decimal WechatPrice {get;set;}
        /// <summary>
        /// 价格版本号，一般是取最新的版本号
        /// </summary>           
        [SugarColumn(ColumnName="PriceVer")]
        public int PriceVer {get;set;}
        /// <summary>
        /// 创建时间
        /// </summary>           
        [SugarColumn(ColumnName="Creatime")]
        public DateTime Creatime {get;set;}
        /// <summary>
        /// 产品编号
        /// </summary>           
        [SugarColumn(ColumnName="ProductId")]
        public int ProductId {get;set;}
        /// <summary>
        /// 原始支付宝价格
        /// </summary>           
        [SugarColumn(ColumnName="OriginalAliPrice")]
        public decimal OriginalAliPrice {get;set;}
        /// <summary>
        /// 原始微信价格
        /// </summary>           
        [SugarColumn(ColumnName="OriginalWechatPrice")]
        public decimal OriginalWechatPrice {get;set;}
        /// <summary>
        /// 备注
        /// </summary>           
        [SugarColumn(ColumnName="Remark")]
        public string Remark {get;set;}
        /// <summary>
        /// 是否连续包月
        /// </summary>           
        [SugarColumn(ColumnName="IsContinuePay")]
        public int IsContinuePay {get;set;}
        /// <summary>
        /// 连续包月内容
        /// </summary>           
        [SugarColumn(ColumnName="ContinuePayBody")]
        public string ContinuePayBody {get;set;}
        /// <summary>
        /// 苹果平台标识
        /// </summary>           
        [SugarColumn(ColumnName="AppleProductId")]
        public string AppleProductId {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="IsBuyTimes")]
        public int? IsBuyTimes {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="FunctionId")]
        public int? FunctionId {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="FunctionTimes")]
        public int? FunctionTimes {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="ApplePrice")]
        public decimal ApplePrice {get;set;}
        /// <summary>
        /// 排序，-1表示不在列表显示
        /// </summary>           
        [SugarColumn(ColumnName="Sort")]
        public int Sort {get;set;}
        /// <summary>
        /// 权益等级
        /// </summary>           
        [SugarColumn(ColumnName="PrivilegeLevel")]
        public int PrivilegeLevel {get;set;}
        /// <summary>
        /// 自定义天数(自定义会员使用)
        /// </summary>           
        [SugarColumn(ColumnName="Days")]
        public int Days {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="PcAliPrice")]
        public decimal PcAliPrice {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="PcWechatPrice")]
        public decimal PcWechatPrice {get;set;}
        /// <summary>
        /// 迁移主键
        /// </summary>           
        [SugarColumn(ColumnName="RawId")]
        public int? RawId {get;set;}
        /// <summary>
        /// 最后更新时间，用于同于更新判断
        /// </summary>           
        [SugarColumn(ColumnName="SyncUpdateTime")]
        public DateTime? SyncUpdateTime {get;set;}
    }
